package app.vendorportal.api.marketplace.data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;

/**
 * @author carl.you
 */
@XmlRootElement(name = "market-place-ship-notification-detail")
@XmlAccessorType(XmlAccessType.FIELD)
public class MarketPlaceShipNotificationDetail {

    @XmlElement(name = "vendor-number")
    private String vendorNumber;

    @XmlElement(name = "order-id")
    private String orderId;

    @XmlElement(name = "original-pick-ticket-number")
    private String originalPickTicketNumber;

    @XmlElement(name = "pick-ticket-number")
    private String pickTicketNumber;

    @XmlElement(name = "sku")
    private String sku;

    @XmlElement(name = "vendor-sku")
    private String vendorSku;

    @XmlElement(name = "quantity")
    private Integer quantity;

    @XmlElement(name = "warehouse-code")
    private String warehouseCode;

    @XmlElement(name = "shipping-method")
    private String shippingMethod;

    @XmlElement(name = "ship-date")
    private Date shipDate;

    @XmlElement(name = "tracking-number")
    private String trackingNumber;

    @XmlElement(name = "ship-response")
    private ShipResponse shipResponse;

    public static enum ShipResponse {
        SHIPPED, UNSHIPPED, CANCEL
    }

    public String getVendorNumber() {
        return vendorNumber;
    }

    public void setVendorNumber(String vendorNumber) {
        this.vendorNumber = vendorNumber;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPickTicketNumber() {
        return pickTicketNumber;
    }

    public void setPickTicketNumber(String pickTicketNumber) {
        this.pickTicketNumber = pickTicketNumber;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public String getVendorSku() {
        return vendorSku;
    }

    public void setVendorSku(String vendorSku) {
        this.vendorSku = vendorSku;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getShippingMethod() {
        return shippingMethod;
    }

    public void setShippingMethod(String shippingMethod) {
        this.shippingMethod = shippingMethod;
    }

    public Date getShipDate() {
        return shipDate;
    }

    public void setShipDate(Date shipDate) {
        this.shipDate = shipDate;
    }

    public String getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(String trackingNumber) {
        this.trackingNumber = trackingNumber;
    }

    public ShipResponse getShipResponse() {
        return shipResponse;
    }

    public void setShipResponse(ShipResponse shipResponse) {
        this.shipResponse = shipResponse;
    }

    public String getOriginalPickTicketNumber() {
        return originalPickTicketNumber;
    }

    public void setOriginalPickTicketNumber(String originalPickTicketNumber) {
        this.originalPickTicketNumber = originalPickTicketNumber;
    }
}
